package src;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;
import java.awt.BorderLayout;
import javax.swing.JCheckBox;
import javax.swing.JRadioButton;
import javax.swing.JList;
import javax.swing.JTextField;
import javax.swing.JButton;

public class GUI {

	private JFrame frame;
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					GUI window = new GUI();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public GUI() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 500);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		JLabel lblGender = new JLabel("GENDER");
		lblGender.setBounds(54, 108, 46, 14);
		frame.getContentPane().add(lblGender);
		
		JRadioButton rdbtnMale = new JRadioButton("Male");
		rdbtnMale.setBounds(121, 104, 109, 23);
		frame.getContentPane().add(rdbtnMale);
		
		JRadioButton rdbtnFemale = new JRadioButton("Female");
		rdbtnFemale.setBounds(236, 104, 109, 23);
		frame.getContentPane().add(rdbtnFemale);
		
		JLabel lblAge = new JLabel("Age");
		lblAge.setBounds(54, 157, 46, 14);
		frame.getContentPane().add(lblAge);
		
		JRadioButton rdbtnYrs = new JRadioButton("0-25 yrs");
		rdbtnYrs.setBounds(106, 153, 109, 23);
		frame.getContentPane().add(rdbtnYrs);
		
		JRadioButton radioButton = new JRadioButton("20-25");
		radioButton.setBounds(225, 153, 109, 23);
		frame.getContentPane().add(radioButton);
		
		JRadioButton radioButton_1 = new JRadioButton(">25");
		radioButton_1.setBounds(106, 179, 109, 23);
		frame.getContentPane().add(radioButton_1);
		
		JLabel lblCountry = new JLabel("Country");
		lblCountry.setBounds(54, 254, 46, 14);
		frame.getContentPane().add(lblCountry);
		
		textField = new JTextField();
		textField.setBounds(121, 251, 86, 20);
		frame.getContentPane().add(textField);
		textField.setColumns(10);
		
		JLabel lblusgb = new JLabel("(US,FR,GB,DE,AT,Others)");
		lblusgb.setBounds(210, 242, 106, 34);
		frame.getContentPane().add(lblusgb);
		
		JLabel lblRecommender = new JLabel("RECOMMENDER");
		lblRecommender.setBounds(161, 40, 134, 14);
		frame.getContentPane().add(lblRecommender);
		
		JButton btnGo = new JButton("GO");
		btnGo.setBounds(168, 295, 89, 23);
		frame.getContentPane().add(btnGo);
		
		JLabel label = new JLabel("Output Space");
		label.setBounds(29, 332, 372, 116);
		frame.getContentPane().add(label);
	}
}
